<template>
  <div>
    <header>
      <slot name="header"></slot>
    </header>
    <main>
      <slot name="main"></slot>
      <!-- <slot></slot> -->
    </main>
    <footer>
      <slot name="footer"></slot>
    </footer>
    <slot :user = "user"></slot>
  </div>
</template>

<script>

export default {
  data () {
    return {
      user: {
        firstName: 'xinjie',
        lastName: 'zhu'
      }
    }
  }
}
</script>

<style>

</style>
